home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 2192 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  1.0 KB

  1. Path: classic.iinet.com.au!news
  2. From: ng@mitswa.com.au (John A Ng)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Beginer Question
  5. Date: Tue, 16 Jan 1996 07:58:20 GMT
  6. Organization: MITS (WA)
  7. Message-ID: <4dflqp$a3m@classic.iinet.com.au>
  8. References: <4d36ur$f36@redwood.northcoast.com>
  9. NNTP-Posting-Host: grunge193.nv.iinet.net.au
  10. X-Newsreader: Forte Free Agent 1.0.82
  11.  
  12. Cojo@Cojo.com (Cojo) wrote:
  13.  
  14. >Is there a way to write code that will allow you to run another program from 
  15. >within a program you write (I'm sure there is). Like of I wanted to run 
  16. >another program (that I didn't write, but is already an .exe, stand alone 
  17. >program) from within my program, while my program is still running. Any help 
  18. >will be much apreciated.
  19. >                 Thank you.
  20. >                                    
  21. >                                    
  22.  
  23. The answer depends on what compiler/language/environment you use to
  24. develop your program with.  For example, if you are using C/C++, then
  25. you can call a standardard function:
  26.  
  27.                 system("...");
  28.  
  29. with the command as a string.  This is a very convenient function.
  30.  
  31.